package com.example.xm.servive.impl;

import com.example.xm.Entity.Image;
import com.example.xm.mapper.ImageMapper;
import com.example.xm.servive.ImageServive;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ImageServiveImpl implements ImageServive {

    @Autowired
    ImageMapper imageMapper;

    @Override
    public List<Image> getAllImg() {
        return imageMapper.getAllImg();
    }
}
